package net.sea.setup.config;

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * 系统配置
 *
 * @author 华成伍
 *
 */
@XmlRootElement(name = "syscfg")
@XmlAccessorType(XmlAccessType.NONE)
public class SystemConfig {
	private List<Resource> resource;
	private List<SetupStep> setupStep;
	@XmlElement
	private Wizard wizard;

	@XmlElementWrapper(name = "resources")
	@XmlElement(name = "resource")
	public List<Resource> getResource() {
		return resource;
	}

	public void setResource(List<Resource> resource) {
		this.resource = resource;
	}

	@XmlElementWrapper(name = "setup_steps")
	@XmlElement(name = "setup_step")
	public List<SetupStep> getSetupStep() {
		return setupStep;
	}

	public void setSetupStep(List<SetupStep> setupStep) {
		this.setupStep = setupStep;
	}

	public Wizard getWizard() {
		return wizard;
	}

	public void setWizard(Wizard wizard) {
		this.wizard = wizard;
	}

}
